#include <vector>
#include <iostream>

using namespace std;

int main(int argc, char const *argv[])
{
  vector<vector<int>> tree {
    {9, 19},
    {9, 6},
    {19, 4},
    {19, 5},
    {6, 3},
    {6, 12},
    {3, 11},
    {3, 50},
  };

  return 0;
}
